package com.airticketbooking.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.Date;
import java.io.Serializable;

/**
 * (Ticket)实体类
 *
 * @author makejava
 * @since 2024-10-21 16:21:15
 */
@Data
public class Ticket implements Serializable {
	private static final long serialVersionUID = 675604103132685436L;

	private Integer ticketId;

	private Integer classId;

	private Integer scheduleId;

	private Integer seatId;

	private BigDecimal price;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime purchaseDate;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTime;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime updateTime;

	private Integer status;

	private Integer airplaneId;
}

